# $Id: PKGBUILD 67709 2012-03-14 07:44:01Z ebelanger $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=pysol-sound-server
pkgver=3.01
pkgrel=8
pkgdesc="A Python extension module that plays WAV samples together with MP3 or MOD background music"
arch=('i686' 'x86_64')
url="http://www.pysol.org/"
license=('GPL' 'LGPL')
depends=('python2' 'smpeg')
source=(http://www.pysol.org/download/pysol/$pkgname-$pkgver.tar.bz2)
sha1sums=('010cc2d9634a1796fb9d44c8925b4b62c9568611')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}/src"
  ./configure
  make PYTHON=python2
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}/src"
  python2 setup.py install --root="${pkgdir}"
}
